package yyh.tianbiao.beanUP;

public class D_ValueResultBean {
	private String patient_code;
	private String flag;
	private Double parameter_D_value;
	private Double Date_D_value;
	
	
	@Override
	public String toString() {
		return "D_ValueResultBean [patient_code=" + patient_code + ", flag="
				+ flag + ", parameter_D_value=" + parameter_D_value
				+ ", Date_D_value=" + Date_D_value + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result
				+ ((Date_D_value == null) ? 0 : Date_D_value.hashCode());
		result = prime * result + ((flag == null) ? 0 : flag.hashCode());
		result = prime
				* result
				+ ((parameter_D_value == null) ? 0 : parameter_D_value
						.hashCode());
		result = prime * result
				+ ((patient_code == null) ? 0 : patient_code.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		D_ValueResultBean other = (D_ValueResultBean) obj;
		if (Date_D_value == null) {
			if (other.Date_D_value != null)
				return false;
		} else if (!Date_D_value.equals(other.Date_D_value))
			return false;
		if (flag == null) {
			if (other.flag != null)
				return false;
		} else if (!flag.equals(other.flag))
			return false;
		if (parameter_D_value == null) {
			if (other.parameter_D_value != null)
				return false;
		} else if (!parameter_D_value.equals(other.parameter_D_value))
			return false;
		if (patient_code == null) {
			if (other.patient_code != null)
				return false;
		} else if (!patient_code.equals(other.patient_code))
			return false;
		return true;
	}
	public String getPatient_code() {
		return patient_code;
	}
	public void setPatient_code(String patient_code) {
		this.patient_code = patient_code;
	}
	public String getFlag() {
		return flag;
	}
	public void setFlag(String flag) {
		this.flag = flag;
	}
	public Double getParameter_D_value() {
		return parameter_D_value;
	}
	public void setParameter_D_value(Double parameter_D_value) {
		this.parameter_D_value = parameter_D_value;
	}
	public Double getDate_D_value() {
		return Date_D_value;
	}
	public void setDate_D_value(Double date_D_value) {
		Date_D_value = date_D_value;
	}
	

}
